import Vue from "vue";
import App from "./App.vue";
import Vuesax from "vuesax";
import router from "./router";
import Particles from "particles.vue";
import VAnimateCss from "v-animate-css";
import store from "./store";

import "vuesax/dist/vuesax.css"; //Vuesax styles
import * as filters from "./utils/datatime"; // global filters
import infiniteScroll from "vue-infinite-scroll";

Vue.use(infiniteScroll);
Vue.use(VAnimateCss);
Vue.use(Particles);
Vue.use(Vuesax, {
  // options here
});
// Vue.$vs.toggleTheme();
// register global utility filters
Object.keys(filters).forEach((key) => {
  Vue.filter(key, filters[key]);
});

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
